//
//  AuthorInfoView.m
//  Travel
//
//  Created by lanou on 15/9/22.
//  Copyright (c) 2015年 TeamThree. All rights reserved.
//

#import "AuthorInfoView.h"

@implementation AuthorInfoView

- (void)dealloc
{
    [_authorIcon release];
    [_authorInfo release];
    [_date release];
    [_tags release];
    [super dealloc];
}


- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        _authorIcon = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 30.0 / kAutoWidth, 30.0 / kAutoWidth)];
        _authorIcon.layer.masksToBounds = YES;
        _authorIcon.layer.cornerRadius = _authorIcon.bounds.size.width / 2;
        _authorIcon.backgroundColor = [UIColor redColor];
        [self addSubview:_authorIcon];
        
        
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
